﻿<ul class="page-sidebar-menu hidden-phone hidden-tablet">
    <li>
        <div class="sidebar-toggler hidden-phone"></div>
    </li>
    <li>
        <form class="sidebar-search">
            <div class="input-box">
                <a href="javascript:;" class="remove"></a>
                <input type="text" placeholder="搜索" />
                <input type="button" class="submit" value=" " />
            </div>
        </form>
    </li>
    <li class="start active ">
        <a href="/Home/Index">
            <i class="icon-home"></i>
            <span class="title">主页</span>
            <span class="selected"></span>
        </a>
    </li>
    @{
        List<MODEL.View_DsSystemMenu> list = SysHelper.OperateContext.CurrentContext.MenuList.Where(s => s.DsMenuPartenID == 0).ToList();
        foreach (var item in list)
        {
          <li>
              <a href="javascript:;">
                  <i class="@item.DsMenuIcon"></i>
                  <span class="title">@item.DsMenuCnName</span>
                  <span class="arrow "></span>
              </a>
              <ul class="sub-menu">
                  @{
                      foreach (var i in SysHelper.OperateContext.CurrentContext.MenuList.Where(s => s.DsMenuPartenID == item.DsMenuID))
                      {
                         <li>
                             <a href="@i.Url">@i.DsMenuCnName</a>
                         </li>
                      }   
                  } 
              </ul>
          </li>
        }   
    } 
</ul>
